package factory.impl;

import factory.base.*;
import factory.entity.nyingredient.*;

/**
 * 制造纽约风味披萨的原料工厂具体实现类
 * @author yaojianfeng
 */
public class NyPizzaIngredientFactory implements PizzaIngredientFactory {
    /**
     * 制造面团
     *
     * @return 面团
     */
    @Override
    public Dough createDough() {
        return new NyDough("面团");
    }

    /**
     * 制造酱料
     *
     * @return 酱料
     */
    @Override
    public Sauce createSauce() {
        return new NySauce("酱料");
    }

    /**
     * 制造芝士
     *
     * @return 芝士
     */
    @Override
    public Cheese createCheese() {
        return new NyCheese("芝士");
    }

    /**
     * 蔬菜原料
     *
     * @return 蔬菜
     */
    @Override
    public Veggies[] createVeggies() {
        return new Veggies[]{new NyGarlicVeggies("大蒜"),new NyOnionVeggies("洋葱")
                ,new NyMushroomVeggies("蘑菇"),new NyRedPepperVeggies("红辣椒")};
    }

    /**
     * 制造香肠原料
     *
     * @return
     */
    @Override
    public Pepperoni createPepperoni() {
        return new NyPepperoni("香肠");
    }

    /**
     * 蛤蚌 原料
     *
     * @return
     */
    @Override
    public Clams createClams() {
        return new NyFreshClams("蛤蚌");
    }
}
